home *** CD-ROM | disk | FTP | other *** search
-
- // JavaScript wrapper for r3cubmap.h
- // Auto generated file, do not modify by hand
- // Copyright ⌐ 2004, Realsoft Graphics Oy
-
- var R3_CUBEMAPPING_H = 1;
- include("real/objects/r3map.js")
-
-
- var R3CLID_CUBEMAPPING = 808;
-
-
-
-
-
-
-
- R3CUBMAPA_P0 = 808500;
- function SetR3CUBMAPA_P0(value) {
- R3Set(this.r3obj, R3CUBMAPA_P0, value, R3TID_VECTOR, R3TNF_ARRAY);
- }
-
- function GetR3CUBMAPA_P0() {
- return R3Get(this.r3obj, R3CUBMAPA_P0, R3TID_VECTOR, R3TNF_ARRAY);
- }
-
- R3CUBMAPA_P1 = 808501;
- function SetR3CUBMAPA_P1(value) {
- R3Set(this.r3obj, R3CUBMAPA_P1, value, R3TID_VECTOR, 0);
- }
-
- function GetR3CUBMAPA_P1() {
- return R3Get(this.r3obj, R3CUBMAPA_P1, R3TID_VECTOR, 0);
- }
-
- R3CUBMAPA_P2 = 808502;
- function SetR3CUBMAPA_P2(value) {
- R3Set(this.r3obj, R3CUBMAPA_P2, value, R3TID_VECTOR, 0);
- }
-
- function GetR3CUBMAPA_P2() {
- return R3Get(this.r3obj, R3CUBMAPA_P2, R3TID_VECTOR, 0);
- }
-
- R3CUBMAPA_P3 = 808503;
- function SetR3CUBMAPA_P3(value) {
- R3Set(this.r3obj, R3CUBMAPA_P3, value, R3TID_VECTOR, 0);
- }
-
- function GetR3CUBMAPA_P3() {
- return R3Get(this.r3obj, R3CUBMAPA_P3, R3TID_VECTOR, 0);
- }
-
- R3CUBMAPA_MatFront = 808504;
- function SetR3CUBMAPA_MatFront(value) {
- R3Set(this.r3obj, R3CUBMAPA_MatFront, value, R3TID_STRING, 0);
- }
-
- function GetR3CUBMAPA_MatFront() {
- return R3Get(this.r3obj, R3CUBMAPA_MatFront, R3TID_STRING, 0);
- }
-
- R3CUBMAPA_MatBack = 808505;
- function SetR3CUBMAPA_MatBack(value) {
- R3Set(this.r3obj, R3CUBMAPA_MatBack, value, R3TID_STRING, 0);
- }
-
- function GetR3CUBMAPA_MatBack() {
- return R3Get(this.r3obj, R3CUBMAPA_MatBack, R3TID_STRING, 0);
- }
-
- R3CUBMAPA_MatTop = 808506;
- function SetR3CUBMAPA_MatTop(value) {
- R3Set(this.r3obj, R3CUBMAPA_MatTop, value, R3TID_STRING, 0);
- }
-
- function GetR3CUBMAPA_MatTop() {
- return R3Get(this.r3obj, R3CUBMAPA_MatTop, R3TID_STRING, 0);
- }
-
- R3CUBMAPA_MatBottom = 808507;
- function SetR3CUBMAPA_MatBottom(value) {
- R3Set(this.r3obj, R3CUBMAPA_MatBottom, value, R3TID_STRING, 0);
- }
-
- function GetR3CUBMAPA_MatBottom() {
- return R3Get(this.r3obj, R3CUBMAPA_MatBottom, R3TID_STRING, 0);
- }
-
- R3CUBMAPA_MatLeft = 808508;
- function SetR3CUBMAPA_MatLeft(value) {
- R3Set(this.r3obj, R3CUBMAPA_MatLeft, value, R3TID_STRING, 0);
- }
-
- function GetR3CUBMAPA_MatLeft() {
- return R3Get(this.r3obj, R3CUBMAPA_MatLeft, R3TID_STRING, 0);
- }
-
- R3CUBMAPA_MatRight = 808509;
- function SetR3CUBMAPA_MatRight(value) {
- R3Set(this.r3obj, R3CUBMAPA_MatRight, value, R3TID_STRING, 0);
- }
-
- function GetR3CUBMAPA_MatRight() {
- return R3Get(this.r3obj, R3CUBMAPA_MatRight, R3TID_STRING, 0);
- }
-
- R3CUBMAPA_EnvironmentMap = 808510;
- function SetR3CUBMAPA_EnvironmentMap(value) {
- R3Set(this.r3obj, R3CUBMAPA_EnvironmentMap, value, R3TID_INTEGER, 0);
- }
-
- function GetR3CUBMAPA_EnvironmentMap() {
- return R3Get(this.r3obj, R3CUBMAPA_EnvironmentMap, R3TID_INTEGER, 0);
- }
-
- R3CUBMAPA_Width = 808511;
- function SetR3CUBMAPA_Width(value) {
- R3Set(this.r3obj, R3CUBMAPA_Width, value, R3TID_FLOAT, 0);
- }
-
- function GetR3CUBMAPA_Width() {
- return R3Get(this.r3obj, R3CUBMAPA_Width, R3TID_FLOAT, 0);
- }
-
- R3CUBMAPA_Height = 808512;
- function SetR3CUBMAPA_Height(value) {
- R3Set(this.r3obj, R3CUBMAPA_Height, value, R3TID_FLOAT, 0);
- }
-
- function GetR3CUBMAPA_Height() {
- return R3Get(this.r3obj, R3CUBMAPA_Height, R3TID_FLOAT, 0);
- }
-
- R3CUBMAPA_Depth = 808513;
- function SetR3CUBMAPA_Depth(value) {
- R3Set(this.r3obj, R3CUBMAPA_Depth, value, R3TID_FLOAT, 0);
- }
-
- function GetR3CUBMAPA_Depth() {
- return R3Get(this.r3obj, R3CUBMAPA_Depth, R3TID_FLOAT, 0);
- }
-
- R3CUBMAPA_Projection = 808514;
- function SetR3CUBMAPA_Projection(value) {
- R3Set(this.r3obj, R3CUBMAPA_Projection, value, R3TID_INTEGER, 0);
- }
-
- function GetR3CUBMAPA_Projection() {
- return R3Get(this.r3obj, R3CUBMAPA_Projection, R3TID_INTEGER, 0);
- }
-
- var R3CBPROJ_PYRAMID = 0;
- var R3CBPROJ_ENVMAP = 1;
- var R3CBPROJ_BYNORMAL = 2;
-
-
- function r3Cubemapping () {
- this.base = r3God;
- if(arguments.length) {
- this.base(R3CLID_CUBEMAPPING, arguments);
- }
- // Methods
-
- // Attributes
- this.GetP0=GetR3CUBMAPA_P0;
- this.SetP0=SetR3CUBMAPA_P0;
- this.GetP1=GetR3CUBMAPA_P1;
- this.SetP1=SetR3CUBMAPA_P1;
- this.GetP2=GetR3CUBMAPA_P2;
- this.SetP2=SetR3CUBMAPA_P2;
- this.GetP3=GetR3CUBMAPA_P3;
- this.SetP3=SetR3CUBMAPA_P3;
- this.GetMatFront=GetR3CUBMAPA_MatFront;
- this.SetMatFront=SetR3CUBMAPA_MatFront;
- this.GetMatBack=GetR3CUBMAPA_MatBack;
- this.SetMatBack=SetR3CUBMAPA_MatBack;
- this.GetMatTop=GetR3CUBMAPA_MatTop;
- this.SetMatTop=SetR3CUBMAPA_MatTop;
- this.GetMatBottom=GetR3CUBMAPA_MatBottom;
- this.SetMatBottom=SetR3CUBMAPA_MatBottom;
- this.GetMatLeft=GetR3CUBMAPA_MatLeft;
- this.SetMatLeft=SetR3CUBMAPA_MatLeft;
- this.GetMatRight=GetR3CUBMAPA_MatRight;
- this.SetMatRight=SetR3CUBMAPA_MatRight;
- this.GetEnvironmentMap=GetR3CUBMAPA_EnvironmentMap;
- this.SetEnvironmentMap=SetR3CUBMAPA_EnvironmentMap;
- this.GetWidth=GetR3CUBMAPA_Width;
- this.SetWidth=SetR3CUBMAPA_Width;
- this.GetHeight=GetR3CUBMAPA_Height;
- this.SetHeight=SetR3CUBMAPA_Height;
- this.GetDepth=GetR3CUBMAPA_Depth;
- this.SetDepth=SetR3CUBMAPA_Depth;
- this.GetProjection=GetR3CUBMAPA_Projection;
- this.SetProjection=SetR3CUBMAPA_Projection;
- }
-
- r3Cubemapping.prototype=new r3Mapping;
- // r3cubmap.h_H